package com.qmyx.supply.admin.controller;

import com.ytjj.qmyx.supplychain.common.api.CommonResult;
import com.ytjj.qmyx.supplychain.service.SpecialService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 
 * 
 * @Version: 1.0
 */
@RestController
@RequestMapping("/special")
public class SpecialController {

    @Resource
    private SpecialService specialService;

    @PostMapping("/getSpecialList")
    public CommonResult getSpecialList(){
        return CommonResult.success(specialService.getSpecialList());
    }

}
